package com.yw.swagger.service;

import com.yw.swagger.model.WebContents;
import com.yw.swagger.model.WebModels;

import java.util.List;

/**
 * @Author: Abeiv
 * @Description:
 * @Date: 2019/10/26 10:42
 */
public interface WebContentsService {
    //添加工作动态
    int insertContentsWork(WebContents WebContents);
    //添加通知公告
    int insertContentsInform(WebContents WebContents);
    //添加政务公开
    int insertContentsAffairs(WebContents WebContents);
    //添加领导讲话
    int insertContentsSpeak(WebContents WebContents);
    //添加专题栏目
    int insertContentsSpecial(WebContents WebContents);
    //添加文件资料
    int insertContentsData(WebContents WebContents);
    //添加规章制度
    int insertContentsSystem(WebContents WebContents);
    //添加学习天地
    int insertContentsStudy(WebContents WebContents);
    //添加公共信息
    int insertContentsPubilc(WebContents WebContents);
    //分页查询某模块信息
    List<WebContents> seleCtcontentsAll(String model);
    //查询WebContents表详细信息
    WebContents seleCtcontentsSend(String id);

    //删除信息
    int deleteContents(String id);
    //审核信息
    int contentsAudit(String id);
    //未审核信息
    List<WebContents>selectNotAudit();


    WebModels seleWebModelByName(String model);

    //查询5张图片
    List<WebContents> selectImgUrl();
}
